package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.factory.simplefactory;

import pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.factory.Audi;
import pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.factory.Byd;
import pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.factory.Car;

public class CarFactory2 {
    public static Car createAudi(){
            return new Audi();
    }
    public static Car createByd(){
            return new Byd();
    }
}
